package com.lxw.oa.service;

import com.lxw.oa.entity.SystemLog;
import com.lxw.oa.util.BootstrapTable;

import java.util.List;
import java.util.Map;

public interface BaseService {
    List<Map<String,Object>> getPage(BootstrapTable bootstrapTable);
    List<Map<String,Object>> getExportMessage(BootstrapTable bootstrapTable);

    int getCnt(BootstrapTable bootstrapTable);
    List<Map<String,String>> getFields(String tableName);
    void add(String messageAll);
    void add(String[] column,String[] value,String tableName);
    void edt(String id,String[] column,String[] value,String tableName);
    void del(String id,String tableName);
    void setRoleMenu(String roleId,String menuIds);
    void setUserRole(String userId,String roleIds);
    void systemLogAdd(SystemLog systemLog);
    void edtPwd(Map map);
}
